<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=<!--{$CHARSET}-->" />
	<title><!--{$title}--> -<!--{$config_core.seo_title}--></title>
	<meta name="keywords" content="<!--{$config_core.head_keywords}-->" />
	<meta name="description" content="<!--{$config_core.head_description}-->" />
	<meta http-equiv="x-ua-compatible" content="ie=7" />
	<meta name="generator" content="CityBao System" />
	<meta name="author" content="www.citybao.net" />
	<link href="<!--{$INSTALL_PATH}-->favicon.ico" rel="shortcut icon" />
	<link href="<!--{$INSTALL_PATH}-->favicon.ico" rel="bookmark" />
	<link href="<!--{$CSS_DIR}-->citybao.css" rel="stylesheet" type="text/css" />
	<link href="<!--{$CSS_DIR}-->member.css" rel="stylesheet" type="text/css" />
	<script type="text/javascript" language="javascript">
		var CB_CssPath = '<!--{$CSS_DIR}-->';
		var CB_ImgPath = '<!--{$IMG_DIR}-->';
		var CB_JsPath  = '<!--{$JS_DIR}-->';
		<!--{if $SAFE_DOMAIN != ''}-->
		document.domain = '<!--{$SAFE_DOMAIN}-->';
		<!--{/if}-->
	</script>
	<script type="text/javascript" src="<!--{$JS_DIR}-->jquery-1.4.2.min.js"></script>
</head>
<body>
<!--{include file='header.tpl'}-->
<!--{assign var='guide_suffix' value='密码找回'}-->
<!--{include file='guide.tpl'}-->
<div id="container" class="clearfix">
	<div class="fillet filletColor7 marginTop5">
		<b class="fillet1"></b><b class="fillet2"></b><b class="fillet3"></b><b class="fillet4"></b>
		<div class="filletContent padding10">
			<form action="<!--{$INSTALL_PATH}-->member/getpass.php?action=step4" method="post" name="getpass" id="getpass">
			<input type="hidden" name="validate" value="<!--{$validate}-->" />
			<input type="hidden" name="method" value="<!--{$method}-->" />
			<input type="hidden" name="username" value="<!--{$username}-->" />
			<p class="reg_title_bottom tCenter"> 如果您在此刻记起了密码，那么恭喜您，您可以从<a href="<!--{$INSTALL_PATH}-->member/login.php" class="aBlue">这里登录</a>。</p>
			<dl class="formList" style="margin-top:50px;">
				<dd>
					<div class="colum_left">
						E-mail地址：
					</div>
					<div class="colum_right">
						<div class="inputbox">
							<span class="input">
								<cite><input id="email" name="email" type="text" maxlength="37" alt="邮箱名:errArea{emailtip}" value="<!--{$email}-->" /></cite>
							</span>
						</div>
						<span id="emailtip" class="tip"></span>
						<div class="inputtip fGray">请输入您注册时填写的email地址，我们将发送修改密码链接到此信箱</div>
					</div>
				</dd>
				<dd>
					<div class="colum_left"></div>
					<div class="colum_right">
						<input type="submit" class="btn_submit" value=" 进行到下一步 " />
					</div>
				</dd>
			</dl>
		</form>
		</div>
		<b class="fillet5"></b><b class="fillet6"></b><b class="fillet7"></b><b class="fillet8"></b>
	</div>
</div>
<script type="text/javascript">
	$(function() {
		//输入框样式
		$(':text')
			.focus(function(){
				node = $(this).parents('span.input')
				node.removeClass('inputRed');
				node.addClass('inputGreen');
				showError($(this),'clear');
			}).blur(function(){
				node = $(this).parents('span.input')
				node.removeClass('inputGreen');
				validate($(this));
			});
	});
	
	//表单提交验证
	$("#getpass").submit(function(){
		var flag=true;
		$("input:visible").each(function(){
			if($(this).val()==''){
				Dialog("提示","text:请完善表单后再提交！","400","150",true,"",true);
				flag = false;
				return false;
			}
		});
		return flag;
	});
	
	/**
	 * 验证表单
	 */
	function validate(e){
		if(e.attr('name') == 'email'){
			msg = checkEmail(e.val());
		}
		showError(e,msg);
	}
</script>
<!--{include file='footer.tpl'}-->
</body>
</html>